DbTrendSetPatternLine

 

The microcerious trend displays the vertical line at regular intervals.

 

void @DbTrendSetPatternLine(string classname, int active, int color, int thick, double pattern_cycle, object start_time, int pattern_count, int start_number, int number_position);

 

Parameters

string classname : Class name of object

int active : Display (0 = deactivate, 1 = active)

int color : Display color

int thick : The thickness of the display line

double pattern_cycle : Cycle (second). When using milliseconds, use the number of digits below the decimal point

object start_time: Starting time to display the pattern line

int pattern_count: Number of pattern lines

int start_number: Start-number of numbers to be displayed at the top of the pattern line

int number_position: Position of the number to be displayed at the top of the pattern line (0 = left, 1 = right)

 

Return Value

None

 

Example

t = @DateTimeNew(2019,4,3,16,0,4);
@DbTrendSetPatternLine("DbTrend1", 1, @RGB(0,0,255), 5, 3, t, 5, 200, 0);

 

Description : Activates the pattern line of DbTrend1.

 

Version Information

Supported Version: 10.3.6

 

Related Helps

@DbTrendAddMember()

@DbTrendClear()

@DbTrendClearPatternLine()

@DbTrendGetCursorData()

@DbTrendGetCursorSize()

@DbTrendGetCursorTime()

@DbTrendGetMax()

@DbTrendGetMemberFlags()

@DbTrendGetMin()

@DbTrendGetRealPos()

@DbTrendGetShowSize()

@DbTrendReLoad()

@DbTrendRemoveAt()

@DbTrendSaveToCsv()

@DbTrendSetAlarmLineStyle()

@DbTrendSetAlarmLineThick()

@DbTrendSetDataType()

@DbTrendSetDsn()

@DbTrendSetLogarithmicScale()

@DbTrendSetMax()

@DbTrendSetMemberFlags()

@DbTrendSetMemberTable()

@DbTrendSetMin()

@DbTrendSetPatternLine()

@DbTrendSetPatternLineVisible()

@DbTrendSetPatternLineVisibleByColor()

@DbTrendSetShowSize()

@DbTrendSetStartTime()

@DbTrendSetTable()

@DbTrendShiftTime()